<?php
	$conn = new mysqli("localhost:3306","root","lc971019");
	if($conn->connect_error)
	{
		die('Could not connect:'.$conn->connect_error());
	}
	$sql = "select * from WifiObject.data";
	$depta = "select * from WifiObject.dept_a";
	$deptb = "select * from WifiObject.dept_b";
	$deptc = "select * from WifiObject.dept_c";
	$deptd = "select * from WifiObject.dept_d";
	$result = $conn->query($sql);
?>
